package com.pingan.myBatis.crypt.annotations;

import java.lang.annotation.*;

/**
 * @AUTHOR:LIUCHAO;
 * @DATE: 2020/11/30 16:09
 */
@Documented
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.FIELD, ElementType.PARAMETER, ElementType.METHOD})
public @interface CryptField {

    String value() default "";

    boolean encrypt() default true;

    boolean decrypt() default true;
}
